<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class ManaPHP\Mvc\Model\Metadata</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?70c1d062672daa3f906b72e4f5d03d4bc5c4174d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">Overview</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.html" title="Summary of ManaPHP\Mvc\Model"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li class="active">
						<a href="namespace-ManaPHP.html">
							ManaPHP<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Alias.html">
							Alias						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Authentication.html">
							Authentication<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.html">
							Token<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.Adapter.Mwt.html">
							Mwt						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Authorization.html">
							Authorization<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.html">
							Rbac<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.Models.html">
							Models						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.PermissionBuilder.html">
							PermissionBuilder						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Cache.html">
							Cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.Apc.html">
							Apc						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Cli.html">
							Cli<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cli.Application.html">
							Application						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cli.Arguments.html">
							Arguments						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cli.Controllers.html">
							Controllers						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Component.html">
							Component						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Configure.html">
							Configure<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.html">
							Engine<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.Ini.html">
							Ini						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.Json.html">
							Json						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Counter.html">
							Counter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Counter.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Counter.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Db.html">
							Db<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Db.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Db.Adapter.Sqlite.html">
							Sqlite						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Debugger.html">
							Debugger						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Di.html">
							Di						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Event.html">
							Event<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Event.Manager.html">
							Manager						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Facade.html">
							Facade						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Filesystem.html">
							Filesystem<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Filesystem.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Filesystem.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Http.html">
							Http<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Client.html">
							Client						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Cookies.html">
							Cookies						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Filter.html">
							Filter						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Request.html">
							Request<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Request.File.html">
							File						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Http.Response.html">
							Response						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Session.html">
							Session<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Session.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Session.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.I18n.html">
							I18n						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Image.html">
							Image<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.Gd.html">
							Gd						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.Imagick.html">
							Imagick						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Loader.html">
							Loader						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Logger.html">
							Logger<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Logger.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Logger.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Message.html">
							Message<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.html">
							Queue<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.Redis.html">
							Redis						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Meter.html">
							Meter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Meter.Linear.html">
							Linear						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Meter.Round.html">
							Round						</a>
							</li>
								</ul></li>
					<li class="active">
						<a href="namespace-ManaPHP.Mvc.html">
							Mvc<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Application.html">
							Application						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Dispatcher.html">
							Dispatcher						</a>
							</li>
					<li class="active">
						<a href="namespace-ManaPHP.Mvc.Model.html">
							Model<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Manager.html">
							Manager						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.html">
							Metadata<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.Apc.html">
							Apc						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.QueryBuilder.html">
							QueryBuilder						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.html">
							Router<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.RewriteChecker.html">
							RewriteChecker						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.Route.html">
							Route						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Url.html">
							Url						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.User.html">
							User						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.html">
							View<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.Flash.html">
							Flash<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.Flash.Adapter.html">
							Adapter						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Paginator.html">
							Paginator						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Renderer.html">
							Renderer<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.html">
							Engine<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.Php.html">
							Php						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.Sword.html">
							Sword						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Security.html">
							Security<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.Captcha.html">
							Captcha						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.Crypt.html">
							Crypt						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.CsrfToken.html">
							CsrfToken						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.html">
							RateLimiter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Serializer.html">
							Serializer<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.Json.html">
							Json						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.JsonPhp.html">
							JsonPhp						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.Php.html">
							Php						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.StringType.html">
							StringType						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Store.html">
							Store<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Task.html">
							Task<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.html">
							Metadata<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Apc.html">
							Apc						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Redis.html">
							Redis						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Text.html">
							Text						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Utility.html">
							Utility						</a>
							</li>
								</ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.Manager.html">Manager</a></li>
				<li class="active"><a href="class-ManaPHP.Mvc.Model.Metadata.html">Metadata</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.QueryBuilder.html">QueryBuilder</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.ManagerInterface.html">ManagerInterface</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html">MetadataInterface</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">QueryBuilderInterface</a></li>
			</ul>


			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.Exception.html">Exception</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class Metadata</h1>


	<div class="description">
	<p>Class ManaPHP\Mvc\Model\Metadata</p>
	</div>

	<dl class="tree well">
		<dd style="padding-left:0px">
			<a href="class-ManaPHP.Component.html"><span>ManaPHP\Component</span></a>
			
			 implements 
				<a href="class-ManaPHP.ComponentInterface.html"><span>ManaPHP\ComponentInterface</span></a>
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>ManaPHP\Mvc\Model\Metadata</span></b>			
			 implements 
				<a href="class-ManaPHP.Mvc.Model.MetadataInterface.html"><span>ManaPHP\Mvc\Model\MetadataInterface</span></a>, 
			
				<a href="class-ManaPHP.Mvc.Model.Metadata.AdapterInterface.html"><span>ManaPHP\Mvc\Model\Metadata\AdapterInterface</span></a>
			
			
		</dd>
	</dl>


	<div>
		<h3>Direct known subclasses</h3>
		<p class="elementList">
			<code><a href="class-ManaPHP.Mvc.Model.Metadata.Adapter.Apc.html">ManaPHP\Mvc\Model\Metadata\Adapter\Apc</a></code>, 
			<code><a href="class-ManaPHP.Mvc.Model.Metadata.Adapter.Memory.html">ManaPHP\Mvc\Model\Metadata\Adapter\Memory</a></code>
		</p>
	</div>






	<div class="alert alert-info">
		<b>Abstract</b><br>
		
		<b>Namespace:</b> <a href="namespace-ManaPHP.html">ManaPHP</a>\<a href="namespace-ManaPHP.Mvc.html">Mvc</a>\<a href="namespace-ManaPHP.Mvc.Model.html">Model</a><br>
		<b>Package:</b> modelsMetadata<br>

			<b>Located at</b> <a href="source-class-ManaPHP.Mvc.Model.Metadata.html#8-166" title="Go to source code">Mvc/Model/Metadata.php</a>
		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="_readMetaData" id="__readMetaData">

			<td class="attributes"><code>
				 protected 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__readMetaData">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#26-76" title="Go to source code">_readMetaData</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				<p>Reads the complete meta-data for certain model</p>
			</div>

			<div class="description detailed hidden">
				<p>Reads the complete meta-data for certain model</p>

<pre><span class="php-keyword2">print_r</span>(<span class="php-var">$metaData</span>-&gt;readMetaData(<span class="php-keyword1">new</span> Robots()));</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



			</div>
			</div></td>
		</tr>
		<tr data-order="getAttributes" id="_getAttributes">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getAttributes">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#78-93" title="Go to source code">getAttributes</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				<p>Returns table attributes names (fields)</p>
			</div>

			<div class="description detailed hidden">
				<p>Returns table attributes names (fields)</p>

<pre><span class="php-keyword2">print_r</span>(<span class="php-var">$metaData</span>-&gt;getAttributes(<span class="php-keyword1">new</span> Robots()));</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_getAttributes">ManaPHP\Mvc\Model\MetadataInterface::getAttributes()</a></code></div>
			</div>
			</div></td>
		</tr>
		<tr data-order="getPrimaryKeyAttributes" id="_getPrimaryKeyAttributes">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getPrimaryKeyAttributes">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#95-110" title="Go to source code">getPrimaryKeyAttributes</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				<p>Returns an array of fields which are part of the primary key</p>
			</div>

			<div class="description detailed hidden">
				<p>Returns an array of fields which are part of the primary key</p>

<pre><span class="php-keyword2">print_r</span>(<span class="php-var">$metaData</span>-&gt;getPrimaryKeyAttributes(<span class="php-keyword1">new</span> Robots()));</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_getPrimaryKeyAttributes">ManaPHP\Mvc\Model\MetadataInterface::getPrimaryKeyAttributes()</a></code></div>
			</div>
			</div></td>
		</tr>
		<tr data-order="getAutoIncrementAttribute" id="_getAutoIncrementAttribute">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getAutoIncrementAttribute">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#112-123" title="Go to source code">getAutoIncrementAttribute</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				<p>Returns attribute which is auto increment or null</p>
			</div>

			<div class="description detailed hidden">
				<p>Returns attribute which is auto increment or null</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string<br>|null
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_getAutoIncrementAttribute">ManaPHP\Mvc\Model\MetadataInterface::getAutoIncrementAttribute()</a></code></div>
			</div>
			</div></td>
		</tr>
		<tr data-order="getNonPrimaryKeyAttributes" id="_getNonPrimaryKeyAttributes">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getNonPrimaryKeyAttributes">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#125-136" title="Go to source code">getNonPrimaryKeyAttributes</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				<p>Returns an array of fields which are not part of the primary key</p>
			</div>

			<div class="description detailed hidden">
				<p>Returns an array of fields which are not part of the primary key</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_getNonPrimaryKeyAttributes">ManaPHP\Mvc\Model\MetadataInterface::getNonPrimaryKeyAttributes()</a></code></div>
			</div>
			</div></td>
		</tr>
		<tr data-order="hasAttribute" id="_hasAttribute">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasAttribute">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#138-154" title="Go to source code">hasAttribute</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span>, <span>string <var>$attribute</var></span> )</code>

			<div class="description short">
				<p>Check if a model has certain attribute</p>
			</div>

			<div class="description detailed hidden">
				<p>Check if a model has certain attribute</p>

<pre><span class="php-keyword2">var_dump</span>(<span class="php-var">$metaData</span>-&gt;hasAttribute(<span class="php-keyword1">new</span> Robots(), <span class="php-quote">'name'</span>));</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
						<dt><var>$attribute</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_hasAttribute">ManaPHP\Mvc\Model\MetadataInterface::hasAttribute()</a></code></div>
			</div>
			</div></td>
		</tr>
		<tr data-order="getColumnProperties" id="_getColumnProperties">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getColumnProperties">#</a>
			<code><a href="source-class-ManaPHP.Mvc.Model.Metadata.html#156-165" title="Go to source code">getColumnProperties</a>( <span>string|<code><a href="class-ManaPHP.Mvc.ModelInterface.html">ManaPHP\Mvc\ModelInterface</a></code> <var>$model</var></span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$model</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array
					</div>

					<h4>Throws</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Mvc.Model.Metadata.Exception.html">ManaPHP\Mvc\Model\Metadata\Exception</a></code>
					</div>



					<h4>Implementation of</h4>
					<div class="list"><code><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html#_getColumnProperties">ManaPHP\Mvc\Model\MetadataInterface::getColumnProperties()</a></code></div>
			</div>
			</div></td>
		</tr>
			</table>
		</div>

		<div class="panel panel-default">
	        <div class="panel-heading"><h3>Methods inherited from <a href="class-ManaPHP.Component.html#methods">ManaPHP\Component</a></h3></div>
			<p class="elementList">
				<code><a href="class-ManaPHP.Component.html#___debugInfo">__debugInfo()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#___get">__get()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#___isset">__isset()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#___set">__set()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#_attachEvent">attachEvent()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#_dump">dump()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#_fireEvent">fireEvent()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#_getDependencyInjector">getDependencyInjector()</a></code>, 
				<code><a href="class-ManaPHP.Component.html#_setDependencyInjector">setDependencyInjector()</a></code>
			</p>
		</div>
		<div class="panel panel-default">
	        <div class="panel-heading"><h3>Methods inherited from <a href="class-ManaPHP.Mvc.Model.Metadata.AdapterInterface.html#methods">ManaPHP\Mvc\Model\Metadata\AdapterInterface</a></h3></div>
			<p class="elementList">
				<code><a href="class-ManaPHP.Mvc.Model.Metadata.AdapterInterface.html#_read">read()</a></code>, 
				<code><a href="class-ManaPHP.Mvc.Model.Metadata.AdapterInterface.html#_write">write()</a></code>
			</p>
		</div>







		<div class="panel panel-default">
            <div class="panel-heading"><h2>Constants summary</h2></div>
			<table class="summary table table-bordered table-striped constants" id="constants">
			<tr data-order="MODEL_ATTRIBUTES" id="MODEL_ATTRIBUTES">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#15" title="Go to source code"><b>MODEL_ATTRIBUTES</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODEL_ATTRIBUTES" class="anchor">#</a>
						<code><span class="php-num">0</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="MODEL_PRIMARY_KEY" id="MODEL_PRIMARY_KEY">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#16" title="Go to source code"><b>MODEL_PRIMARY_KEY</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODEL_PRIMARY_KEY" class="anchor">#</a>
						<code><span class="php-num">1</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="MODEL_NON_PRIMARY_KEY" id="MODEL_NON_PRIMARY_KEY">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#17" title="Go to source code"><b>MODEL_NON_PRIMARY_KEY</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODEL_NON_PRIMARY_KEY" class="anchor">#</a>
						<code><span class="php-num">2</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="MODEL_IDENTITY_COLUMN" id="MODEL_IDENTITY_COLUMN">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#18" title="Go to source code"><b>MODEL_IDENTITY_COLUMN</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODEL_IDENTITY_COLUMN" class="anchor">#</a>
						<code><span class="php-num">3</span></code>
					</div>
				</td>
			</tr>
			<tr data-order="MODEL_COLUMN_PROPERTIES" id="MODEL_COLUMN_PROPERTIES">

				<td class="attributes"><code>integer</code></td>
				<td class="name">
					<code>
						<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#19" title="Go to source code"><b>MODEL_COLUMN_PROPERTIES</b></a>
					</code>

					<div class="description short">
						
					</div>

					<div class="description detailed hidden">
						

					</div>
				</td>
				<td class="value">
					<div>
						<a href="#MODEL_COLUMN_PROPERTIES" class="anchor">#</a>
						<code><span class="php-num">4</span></code>
					</div>
				</td>
			</tr>
			</table>
		</div>




		<div class="panel panel-default">
            <div class="panel-heading"><h2>Properties summary</h2></div>
			<table class="summary table table-bordered table-striped properties" id="properties">
		<tr data-order="_metadata" id="$_metadata">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-ManaPHP.Mvc.Model.Metadata.html#21-24" title="Go to source code"><var>$_metadata</var></a>

				<div class="description short">
					
				</div>

				<div class="description detailed hidden">
					

				</div>
			</td>
			<td class="value">
				<div>
					<a href="#$_metadata" class="anchor">#</a>
					<code></code>
				</div>
			</td>
		</tr>
			</table>
		</div>

		<div class="panel panel-default">
            <div class="panel-heading"><h3>Properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></h3></div>
			<p class="elementList">
				<code><a href="class-ManaPHP.Component.html#$_dependencyInjector"><var>$_dependencyInjector</var></a></code>
			</p>
		</div>



		<div class="panel panel-default">
            <div class="panel-heading"><h3>Magic properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></h3></div>
			<p class="elementList">
				<code><a href="class-ManaPHP.Component.html#m$alias"><var>$alias</var></a></code>, 
				<code><a href="class-ManaPHP.Component.html#m$configure"><var>$configure</var></a></code>, 
				<code><a href="class-ManaPHP.Component.html#m$eventsManager"><var>$eventsManager</var></a></code>, 
				<code><a href="class-ManaPHP.Component.html#m$filesystem"><var>$filesystem</var></a></code>, 
				<code><a href="class-ManaPHP.Component.html#m$logger"><var>$logger</var></a></code>
			</p>
		</div>


</div>
	</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
